import React from "react";
export default function (props) {
    return (
        <div>
            <label>{props.children}</label>
            <input
                type={props.type}
                value={props.value}
                onBlur={props.validate}
                onInput={props.onInput}
            />
            <span>{props.info}</span>
        </div>
    );
}
